package com.iwdnb.gkgz.application.model.vo;

import java.io.Serializable;

import com.iwdnb.lombok.extend.annotation.Serialize;
import lombok.Data;

/**
 * 股票实时数据
 *
 * @author wbc
 * @date 2020/05/02
 **/
@Data
public class RealtimeStockData implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * code : 0600036
     * percent : -0.007245
     * high : 42.85
     * askvol3 : 381800
     * askvol2 : 43400
     * askvol5 : 4400
     * askvol4 : 4400
     * price : 42.48
     * open : 42.8
     * bid5 : 42.39
     * bid4 : 42.4
     * bid3 : 42.42
     * bid2 : 42.44
     * bid1 : 42.47
     * low : 42.09
     * updown : -0.31
     * type : SH
     * symbol : 600036
     * status : 0
     * ask4 : 42.51
     * bidvol3 : 200
     * bidvol2 : 1000
     * bidvol1 : 300
     * update : 2020/11/06 15:59:58
     * bidvol5 : 500
     * bidvol4 : 600
     * yestclose : 42.79
     * askvol1 : 62600
     * ask5 : 42.52
     * volume : 46364547
     * ask1 : 42.48
     * name : 招商银行
     * ask3 : 42.5
     * ask2 : 42.49
     * arrow : ↓
     * time : 2020/11/06 15:59:54
     * turnover : 1969073126
     */

    //代码，带0或1
    private String code;
    //上证，SH
    private String type;
    //代码
    private String symbol;
    //状态 0
    private int status;
    //名称
    private String name;

    //卖方1-5股数
    private int askvol1;
    private int askvol2;
    private int askvol3;
    private int askvol4;
    private int askvol5;

    //卖方1-5价格
    private double ask1;
    private double ask2;
    private double ask3;
    private double ask4;
    private double ask5;

    //买方1-5股数
    private int bidvol5;
    private int bidvol4;
    private int bidvol3;
    private int bidvol2;
    private int bidvol1;

    //买方1-5价格
    private double bid5;
    private double bid4;
    private double bid3;
    private double bid2;
    private double bid1;

    //昨收
    private double yestclose;
    //开盘价
    private double open;

    //最高价
    private double high;
    //最低价
    private double low;

    //当前价格
    private double price;
    //股价下跌价格
    private double updown;
    //涨幅百分比
    private double percent;

    //成交量，手
    private int volume;
    //成交额，RMB
    private int turnover;

    //涨跌箭头
    private String arrow;

    //当前时间
    private String time;
    //更新时间
    private String update;

}
